<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>人物沿革录</title>
    {% load static %}
    <link rel="stylesheet" href="{% static 'css/find1.css' %}"/>
</head>
<body>
    <nav id="topnav">
        <div class="container">
            <ul class="nav-list">
                <li><a href="/polls/index/" class="nav-link">首页</a></li>
                <li><a href="/polls/dynasty/" class="nav-link">王朝</a></li>
                <li><a href="/polls/character/" class="nav-link">人物</a></li>
                <li class="user-menu">
                    <span>{{ stdata.std_name }}</span>
                    <a href="/polls/index/" onclick="goBack()" class="logout-btn">
                        <span class="iconfont icon-tuichu"></span>
                        退出
                    </a>
                </li>
            </ul>
        </div>
    </nav>
    <div id="locate">
        <a href="#topnav" class="locate-link">
{#            <span style="font-size: 20px;font-weight: bolder">∧</span>#}
            <img src="{% static 'img/direct.svg' %}" alt="返回顶部">
            <span class="topup">顶部</span>
        </a>
    </div>
    <!-- 修改后的结果区域 -->
    <div class="container">
        <h1 class="result-title">人物沿革录</h1>
        <ol class="result-list">
            {% for item in datady %}
            <div class="result-item">
                <div class="dynasty-order"><h3>第{{ forloop.counter }}人</h3></div>
                <p class="detail-line"><strong>人物名称:</strong> {{ item.act_name }}</p>
                <p class="detail-line"><strong>活动时间:</strong> {{ item.act_time }}</p>
                <p class="detail-line"><strong>人物背景:</strong> {{ item.act_background }}</p>
                <p class="detail-line"><strong>主要事迹:</strong> {{ item.act_life }}</p>
                <p class="detail-line"><strong>思想主张:</strong> {{ item.act_belief}}</p>
                <p class="detail-line"><strong>历史评价:</strong> {{ item.act_achievement }}</p>
            </div>
            {% endfor %}
        </ol>
    </div>

</body>
</html>